#ifndef QFAULTSELECDIALOG_H
#define QFAULTSELECDIALOG_H

#include "../../libs/core/qbasedialog.h"

#include <QMap>
#include <QTreeWidgetItem>

namespace Ui {
class QFaultSelecDialog;
}

class QFaultSelecDialog : public QBaseDialog
{
    Q_OBJECT
    
public:
    explicit QFaultSelecDialog(QWidget *parent = 0);
    ~QFaultSelecDialog();


    int get_ret();
private slots:
    void on_pushButton_3_clicked();

    void on_pushButton_2_clicked();

    void on_pushButton_clicked();

    void on_pushButton_4_clicked();

    void item_clicked(QTreeWidgetItem *item);

private:
    Ui::QFaultSelecDialog *ui;

protected:
    QIcon       m_select_icon;
    QIcon       m_unselect_icon;
    int         m_ret;
};

#endif // QFAULTSELECDIALOG_H
